Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


GetQDRegion

Mac OS

The GetQDRegion method returns an approximation of this shape in the form of a read-only QuickDraw region.

ODRgnHandle GetQDRegion ();
return value
A QuickDraw region that approximates this shape.
DISCUSSION
The returned QuickDraw region is owned by this shape; you cannot modify it or deallocate its storage. The region and its content are valid only until the next operation on this shape.

This method calls the GetPlatformShape method to obtain the QuickDraw region.

EXCEPTIONS
kODErrInvalidGraphicsSystem
The QuickDraw graphics system is not installed or available.
SEE ALSO
The ODRgnHandle type (page 884).
The ODShape::GetPlatformShape method (page 639).
The ODShape::SetQDRegion method (page 652).
Listing 2-18 on page 68 in OpenDoc Cookbook.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help